package com.tyqx.hashchaindao.mapper;

import java.util.Date;
import java.util.List;

import com.tyqx.hashchainbean.module.NeedProduct;
import org.apache.ibatis.annotations.Param;

public interface NeedProductMapper {


    public int insert(NeedProduct record);

    public int addNeedProduct(NeedProduct needProduct);

    public List<NeedProduct> getNeedProductById(String donateId);

    public List<NeedProduct> getNeedProductByTime(@Param("startTime")Date startTime, @Param("endTime")Date endTime, @Param("userName")String userName);
}